package com.qiaofang.collectmanage.base.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author jingfa.sun
 */
@Component
@ConfigurationProperties(prefix = "xiaomishu")
public class SecretaryManageConfiguration {
    private static  String loginName;
    private static String loginPass;
    private static String loginUrl;
    private static String detailUrl;
    private static String detailParam;
    private static String pageCharset;
    private static String defaultPage;
    private static String beeTable;
    private static String beeType;
    private static String waitTime;
    public SecretaryManageConfiguration() {
    }
    public static String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        SecretaryManageConfiguration.loginName = loginName;
    }

    public static  String getLoginPass() {
        return loginPass;
    }

    public void setLoginPass(String loginPass) {
        SecretaryManageConfiguration.loginPass = loginPass;
    }

    public static String getLoginUrl() {
        return loginUrl;
    }

    public void setLoginUrl(String loginUrl) {
        SecretaryManageConfiguration.loginUrl = loginUrl;
    }

    public static String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        SecretaryManageConfiguration.detailUrl = detailUrl;
    }

    public static String getDetailParam() {
        return detailParam;
    }

    public void setDetailParam(String detailParam) {
        SecretaryManageConfiguration.detailParam = detailParam;
    }

    public static String getPageCharset() {
        return pageCharset;
    }

    public void setPageCharset(String pageCharset) {
        SecretaryManageConfiguration.pageCharset = pageCharset;
    }

    public static String getDefaultPage() {
        return defaultPage;
    }

    public void setDefaultPage(String defaultPage) {
        SecretaryManageConfiguration.defaultPage = defaultPage;
    }

    public static String getBeeTable() {
        return beeTable;
    }

    public void setBeeTable(String beeTable) {
        SecretaryManageConfiguration.beeTable = beeTable;
    }

    public static String getBeeType() {
        return beeType;
    }

    public void setBeeType(String beeType) {
        SecretaryManageConfiguration.beeType = beeType;
    }

    public static String getWaitTime() {
        return waitTime;
    }

    public void setWaitTime(String waitTime) {
        SecretaryManageConfiguration.waitTime = waitTime;
    }

    @Override
    public String toString() {
        return "SecretaryManageConfiguration{" +
                "loginName='" + loginName + '\'' +
                ", loginPass='" + loginPass + '\'' +
                ", loginUrl='" + loginUrl + '\'' +
                ", detailUrl='" + detailUrl + '\'' +
                ", detailParam='" + detailParam + '\'' +
                ", pageCharset='" + pageCharset + '\'' +
                ", defaultPage='" + defaultPage + '\'' +
                ", beeTable='" + beeTable + '\'' +
                ", beeType='" + beeType + '\'' +
                ", waitTime='" + waitTime + '\'' +
                '}';
    }
}
